<div class="infoBlock infoBlockM infoBlockA">
<div class="infoBlockHeading"><span class="t">個人理財</span>
<span class="ps">
<a href="{$CONTEXT.URL}">首頁</a> > 
<a href="{$CONTEXT.MEMBERURL}">會員中心</a> > 
<a href="{$CONTEXT.MEMBERURL}status" class="st">學生狀況</a>
</span>
</div>
<div class="infoBlockContent">

{literal}
<script type="text/javascript" language="javascript">
function mc_fee_check(form){
	var as = form.getElementsByTagName("INPUT");
	for(var i=0; i<as.length; i++){
		if(as[i].type && as[i].type.toLowerCase()=="text" && as[i].name.indexOf("field_value_") > -1){
			if(as[i].value==""){
				//as[i].focus();
				//alert("請填寫費用");
				//return false;
			}else if(IsFloat(as[i].value)==false && IsDecimal(as[i].value)==false){
				as[i].focus();
				alert("請正確填寫費用");
				return false;
			}
		}
	}
	return true;
}
</script>
{/literal}

<div class="infoBlockItem">
<form name="statuseditform" method="post" onsubmit="return mc_fee_check(this);return false;">
<input type="hidden" name="action" value="updatestatus">
<input type="hidden" name="type" value="fee">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top" width="49%">
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="editBox editBoxB">
  <tr class="editBoxHeading">
    <td colspan="2">教育費用</td>
  </tr>
  <tr>
    <td width="30%">學雜費</td>
    <td>{pp_inputtext name="field_value_a1" value=$CONTENT.item.value_a1 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>書本/用品</td>
    <td>{pp_inputtext name="field_value_a2" value=$CONTENT.item.value_a2 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>停車費</td>
    <td>{pp_inputtext name="field_value_a3" value=$CONTENT.item.value_a3 class="inputText1" valid="price"}</td>
  </tr>
  <tr class="editBoxHeading">
    <td colspan="2">住宅費用</td>
  </tr>
  <tr>
    <td>房租/房貸</td>
    <td>{pp_inputtext name="field_value_b1" value=$CONTENT.item.value_b1 class="inputText1" valid="price"}</td>
  </tr>
  <tr class="editBoxHeading">
    <td colspan="2">實用費用</td>
  </tr>
  <tr>
    <td>電/瓦斯/水費等</td>
    <td>{pp_inputtext name="field_value_c1" value=$CONTENT.item.value_c1 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>電話费</td>
    <td>{pp_inputtext name="field_value_c2" value=$CONTENT.item.value_c2 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>有線電視</td>
    <td>{pp_inputtext name="field_value_c3" value=$CONTENT.item.value_c3 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>其他</td>
    <td>{pp_inputtext name="field_value_c4" value=$CONTENT.item.value_c4 class="inputText1" valid="price"}</td>
  </tr>
  <tr class="editBoxHeading">
    <td colspan="2">食物費用</td>
  </tr>
  <tr>
    <td>食品雜貨</td>
    <td>{pp_inputtext name="field_value_d1" value=$CONTENT.item.value_d1 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>餐廳</td>
    <td>{pp_inputtext name="field_value_d2" value=$CONTENT.item.value_d2 class="inputText1" valid="price"}</td>
  </tr>
  <tr class="editBoxHeading">
    <td colspan="2">交通費用</td>
  </tr>
  <tr>
    <td>公共交通</td>
    <td>{pp_inputtext name="field_value_e1" value=$CONTENT.item.value_e1 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>汽車分期</td>
    <td>{pp_inputtext name="field_value_e2" value=$CONTENT.item.value_e2 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>汽車保養/維修</td>
    <td>{pp_inputtext name="field_value_e3" value=$CONTENT.item.value_e3 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>汽油</td>
    <td>{pp_inputtext name="field_value_e4" value=$CONTENT.item.value_e4 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>停車</td>
    <td>{pp_inputtext name="field_value_e5" value=$CONTENT.item.value_e5 class="inputText1" valid="price"}</td>
  </tr>
  <tr class="editBoxHeading">
    <td colspan="2">保險費用</td>
  </tr>
  <tr>
    <td>醫療/牙醫	</td>
    <td>{pp_inputtext name="field_value_f1" value=$CONTENT.item.value_f1 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>人壽保險</td>
    <td>{pp_inputtext name="field_value_f2" value=$CONTENT.item.value_f2 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>房屋保險</td>
    <td>{pp_inputtext name="field_value_f3" value=$CONTENT.item.value_f3 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>汽車保險</td>
    <td>{pp_inputtext name="field_value_f4" value=$CONTENT.item.value_f4 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>其他</td>
    <td>{pp_inputtext name="field_value_f5" value=$CONTENT.item.value_f5 class="inputText1" valid="price"}</td>
  </tr>
</table>
    </td>
    <td width="1%">&nbsp;</td>
    <td valign="top" width="49%">
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="editBox editBoxB">
  <tr class="editBoxHeading">
    <td colspan="2">其他生活費用</td>
  </tr>
  <tr>
    <td width="30%">衣物/乾洗/洗衣</td>
    <td>{pp_inputtext name="field_value_g1" value=$CONTENT.item.value_g1 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>旅遊</td>
    <td>{pp_inputtext name="field_value_g2" value=$CONTENT.item.value_g2 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>娛樂</td>
    <td>{pp_inputtext name="field_value_g3" value=$CONTENT.item.value_g3 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>會員</td>
    <td>{pp_inputtext name="field_value_g4" value=$CONTENT.item.value_g4 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>生活用品</td>
    <td>{pp_inputtext name="field_value_g5" value=$CONTENT.item.value_g5 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>信用卡</td>
    <td>{pp_inputtext name="field_value_g6" value=$CONTENT.item.value_g6 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>醫療</td>
    <td>{pp_inputtext name="field_value_g7" value=$CONTENT.item.value_g7 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>寵物</td>
    <td>{pp_inputtext name="field_value_g8" value=$CONTENT.item.value_g8 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>其他</td>
    <td>{pp_inputtext name="field_value_g9" value=$CONTENT.item.value_g9 class="inputText1" valid="price"}</td>
  </tr>
  <tr class="editBoxHeading">
    <td colspan="2">總額</td>
  </tr>
  <tr>
    <td>每個月總額</td>
    <td>{pp_inputtext name="field_value_h1" value=$CONTENT.item.value_h1 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr class="editBoxHeading">
    <td colspan="2">計算</td>
  </tr>
  <tr>
    <td>每月預算</td>
    <td>{pp_inputtext name="field_value_t1" value=$CONTENT.item.value_t1 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>每月實際開銷</td>
    <td>{pp_inputtext name="field_value_t2" value=$CONTENT.item.value_t2 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>餘額/超出預算金額</td>
    <td>{pp_inputtext name="field_value_t3" value=$CONTENT.item.value_t3 class="inputText1" valid="price"}</td>
  </tr>
  <tr>
    <td>超出預算項目</td>
    <td>{pp_inputtext name="field_item_1" value=$CONTENT.item.item_1 class="inputText2"}</td>
  </tr>
  <tr>
    <td></td>
    <td>{pp_inputtext name="field_item_2" value=$CONTENT.item.item_2 class="inputText2"}</td>
  </tr>
  <tr>
    <td></td>
    <td>{pp_inputtext name="field_item_3" value=$CONTENT.item.item_3 class="inputText2"}</td>
  </tr>
  <tr>
    <td></td>
    <td>{pp_inputtext name="field_item_4" value=$CONTENT.item.item_4 class="inputText2"}</td>
  </tr>
  <tr>
    <td></td>
    <td>{pp_inputtext name="field_item_5" value=$CONTENT.item.item_5 class="inputText2"}</td>
  </tr>
  <tr>
    <td></td>
    <td>{pp_inputtext name="field_item_6" value=$CONTENT.item.item_6 class="inputText2"}</td>
  </tr>
  <tr>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr class="editBoxHeading">
    <td colspan="2"><input type="submit" name="submitbtn" class="sbm" value="確定"></td>
  </tr>
</table> 
    </td>
  </tr>
</table>
</form>
</div>

</div>
</div>